<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class NoticeType extends Model
{
    
    protected $table = 'notice_types';

    public function notice()
    {
        return $this->belongsTo(Notice::class,'id','type_id');
    }

}
